This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: DomParser AND serialize ~Bella Opponelyings 19.Dec.03 10:20 PM a Web browser Domino Designer 6.5All Platforms
Sub Initialize
Set session = New NotesSession
Set db = session.CurrentDatabase
Set stream = session.CreateStream
path$ = "c:\data\dxl\"
filename$ = "stream.dxl"
filename$ = path$ & filename$
If Not stream.Open(filename$, "UTF-8") Then
Messagebox "Cannot open " & filename$,, "Error"
Exit Sub
End If
Call stream.Truncate
Set stream2 = session.CreateStream
path$ = "c:\data\dxl\"
filename$ = "stream2.dxl"
filename$ = path$ & filename$
If Not stream2.Open(filename$, "UTF-8") Then
Messagebox "Cannot open " & filename$,, "Error"
Exit Sub
End If
Call stream2.Truncate
Dim dbCopy As NotesDatabase
Dim streamDXL As String
Dim docNode As NotesDOMDocumentNode